<%--
    author:xuzm
    date:20180419
    
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<style type="text/css">
<!--
.STYLE1 {
	font-size: 16px;
	font-weight: bold;
}
.STYLE2 {

font-size: 14px;

}
.tableStyle {writing-mode: tb-rl; } 
.formlist { width: 100%; }
.formlist table th { color: #111; font-family:Microsoft YaHei; font-size: 13px; text-align: center; font-weight: normal; padding: 10px 5px; border-bottom: solid 1px #eee; background: #f8f8f8;}
.formlist table td { color: #111; font-family:Microsoft YaHei; font-size: 13px; text-align: center; font-weight: normal; padding: 10px 5px; border-bottom: solid 1px #eee;}
-->
</style>
<div class="modal-header">
    <button class="close" ng-click="back()">
        <span aria-hidden="true">×</span>
    </button>
    <h3 class="modal-title" id="modal-title">划款打印</h3>
</div>
<div class="modal-body" id="modal-body">
<!-- <center>
	<p>	
	<span class="btn btn03" id=""><a href="javascript:void(0)" ng-click="drawingTransferPrint();" ><b>打印</b></a></span>
	</p>
</center> -->
<!--startprint-->
 <form id="drawingForm">
  <div class="formlist">
  <table width="100%" border="0">
  <tr>
    <td width="30%" height="23">&nbsp;</td>
    <td width="35%"><div align="center" class="STYLE1">划款表</div></td>
    <td width="35%"><div align="right" class="STYLE2" style="padding-right:40px;" >批次号：</div></td>
  </tr>
</table>
  <table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" class="table table-condensed table-striped table-hover table-bordered">
  <tbody>
    <tr>
      <th width="25%" align="center" colspan="2" style="text-align:center;" >商户号</th>
      <th colspan="1" style="text-align: left;" ng-show="columns < 1" >{{drawing.refId}}</th>
      <th colspan="{{columns}}" style="text-align: left;" ng-show="columns >= 1" >{{drawing.refId}}</th>
    </tr>
    <tr>
      <th align="center" colspan="2" style="text-align:center;" >商户名</th>
      <th colspan="1" style="text-align: left;" ng-show="columns < 1" >{{merchantInfo.name}}</th>
      <th colspan="{{columns}}" style="text-align: left;" ng-show="columns >= 1" >{{merchantInfo.name}}</th>
    </tr>
    <tr>
      <th rowspan="3" align="center" style="vertical-align: middle;" >
	  <p align="center" >收</p>
      <p align="center" > 款</p>
      <p align="center" > 账</p>
      <p align="center" > 户</p></th>
      <th height="107" style="vertical-align: middle;" >
      <p align="center" >开</p>
      <p align="center">户</p>
      <p align="center" >人</p></th>
      <th colspan="1" style="text-align: left;" ng-show="columns < 1" >{{merchantSetting.bankOwner}}</th>
      <th colspan="{{columns}}" style="text-align: left;" ng-show="columns >= 1" >{{merchantSetting.bankOwner}}</th>
    </tr>
    <tr>
      <th height="124" style="vertical-align: middle;" >
      <p align="center">开</p>
      <p align="center">户</p>
      <p align="center">行</p></th>
      <th colspan="1" style="text-align: left;" ng-show="columns < 1" >{{merchantSetting.bankName}}</th>
      <th colspan="{{columns}}" style="text-align: left;" ng-show="columns >= 1" >{{merchantSetting.bankName}}</th>
    </tr>
    <tr>
      <th height="70" style="vertical-align: middle;" >
      <p align="center">账</p>
      <p align="center">号</p></th>
      <th colspan="1" style="text-align: left;" ng-show="columns < 1" >{{merchantSetting.bankAccount}}</th>
      <th colspan="{{columns}}" style="text-align: left;" ng-show="columns >= 1" >{{merchantSetting.bankAccount}}</th>
    </tr>
    <tr>
	 <th style="text-align: center;" colspan="2">通道</th>
     <th colspan="1" style="text-align: left;" ng-show="columns < 1">{{drawingStatisticsMap.acquirerNameStr}}</th>
     <th colspan="{{columns}}" style="text-align: left;" ng-show="columns >= 1" >{{drawingStatisticsMap.acquirerNameStr}}</th>
    </tr>
    <tr>
    <th style="text-align: center;" colspan="2">提现币种</th>
	<th style="text-align: left;" ng-repeat="drawingCurrency in drawingStatisticsMap.drawingCurrencyArray" >{{drawingCurrency}}</th>  
	<th colspan="1" style="text-align: left;" ng-show="columns < 1" ></th>
	<th style="text-align: left;" ng-repeat = "obj in drawingCurrencyNumberArray" ng-show="columns > 1 && drawingCurrencyColumns < columns"></th> 	
    </tr>
    <tr>
    <th style="text-align: center;" colspan="2">提现金额</th>
	<th style="text-align: left;" ng-repeat="drawingAmount in drawingStatisticsMap.drawingAmountArray" >{{drawingAmount}}</th>       
	<th colspan="1" style="text-align: left;" ng-show="columns < 1" ></th>
	<th style="text-align: left;" ng-repeat="obj in drawingAmountNumberArray" ng-show="columns > 1 && drawingAmountColumns < columns" ></th> 	
    </tr>
    <tr>
    <th style="text-align: center;" colspan="2">划款币种</th>  
	<th style="text-align: left;" ng-repeat="transferCurrency in drawingStatisticsMap.transferCurrencyArray" >{{transferCurrency}}</th>     
	<th colspan="1" style="text-align: left;" ng-show="columns < 1" ></th>
	<th colspan="1" style="text-align: left;" ng-show="transferCurrencyColumns == columns"></th>
    </tr>
    <tr>
    <th style="text-align: center;" colspan="2">结算汇率</th>
	<th style="text-align: left;" ng-repeat="transferRate in drawingStatisticsMap.transferRateArray" >{{transferRate}}</th>        
	<th colspan="1" style="text-align: left;" ng-show="columns < 1" ></th>
	<th style="text-align: left;"  ng-repeat="obj in transferRateNumberArray" ng-show="columns > 1 && transferRateColumns < columns" ></th> 	
    </tr>
    <tr>
    <th style="text-align: center;" colspan="2">划款金额</th>
	<th style="text-align: left;" ng-repeat="transferAmount in drawingStatisticsMap.transferAmountArray" >{{transferAmount}}</th>       
	<th colspan="1" style="text-align: left;" ng-show="columns < 1" ></th>
	<th style="text-align: left;" ng-repeat="obj in transferAmountNumberArray" ng-show="columns > 1 && transferAmountColumns < columns" ></th> 	
    </tr>
    <tr align="center" >
		<th colspan="2" style="text-align:center;" >合计</th>
		<th colspan="1" style="text-align: left;" ng-show="columns < 1" >{{drawingStatisticsMap.transferTotalAmount}}</th>
		<th colspan="{{columns}}" style="text-align: left;" ng-show="columns >= 1" >{{drawingStatisticsMap.transferTotalAmount}}</th>
	</tr>
    <tr align="center">
      <th colspan="2" style="text-align:center;" >实际划款金额</th>
		 <th colspan="1" style="text-align: left;" ng-show="columns < 1" ></th>
		 <th colspan="{{columns}}" style="text-align: left;" ng-show="columns >= 1"></th>
    </tr>
    <tr align="center" >
      <th colspan="2" style="text-align:center;" >备注</th>
		 <th colspan="1"  style="text-align: left;" ng-show="columns < 1" ></th>
		 <th colspan="{{columns}}" style="text-align: left;"ng-show="columns >= 1" ></th>
    </tr>
    </tbody>
  </table>
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
   <tbody>
    <tr>
      <td style="text-align: center;" >制表人：</td>
      <td style="text-align: center;" >复核：</td>
      <td style="text-align: center;" >财务：</td>
    </tr>
   </tbody>
  </table>
  <p>&nbsp;</p>
  </div>
  </form>
  <!--endprint-->  
  <div class="row padding-set">
        <div class="col-sm-12">
            <div class="center">
                <button class="btn btn-sm btn-primary general-btn" type="button" ng-click="drawingTransferPrint()" >
                                                                          打印                                              
                </button>
            </div>
        </div>
       </div>
  </div> 

</div>
